package xiegd.com.springbootuse.demo.beanDemo;

/**
 * @Author: xieguangda
 * @Description:
 * @Date: 2023/9/14 17:27
 */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class MyBean2 {
    private String name;
    private Integer age;

    public MyBean2() {
    }

    public MyBean2(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void mytetee(){
        System.out.println("假装我是测试方法");
    }
}
